//
//  MPClueTableViewCell.m
//  SearchPeople
//
//  Created by zk on 16/5/6.
//
//

#import "MPClueTableViewCell.h"
#import <UIImageView+WebCache.h>
@implementation MPClueTableViewCell

- (void)awakeFromNib
{
    [super awakeFromNib];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
}

- (void)configWithDic:(NSDictionary *)dic
{
    NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@",dic[@"picture"]]];
    UIImage *image = [UIImage imageNamed:@"placeHolder"];
    [self.ClueHeaderImageView sd_setImageWithURL:url placeholderImage:image];
    self.NameLabel.text = [NSString stringWithFormat:@"%@  手机号：%@",dic[@"name"],dic[@"mobile"]];
    self.PlaceLabel.text = [NSString stringWithFormat:@"地址：%@",dic[@"address"]];
}

@end
